Optimal. Leaf size=106 \[ \frac{2^{n+5} \tan ^5(c+d x) \left (\frac{1}{\sec (c+d x)+1}\right )^{n+5} (a \sec (c+d x)+a)^n F_1\left (\frac{5}{2};n+4,1;\frac{7}{2};-\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a},\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a}\right )}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0553183, antiderivative size = 106, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.048, Rules used = {3889} \[ \frac{2^{n+5} \tan ^5(c+d x) \left (\frac{1}{\sec (c+d x)+1}\right )^{n+5} (a \sec (c+d x)+a)^n F_1\left (\frac{5}{2};n+4,1;\frac{7}{2};-\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a},\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a}\right )}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3889
Rubi steps
\begin{align*} \int (a+a \sec (c+d x))^n \tan ^4(c+d x) \, dx &=\frac{2^{5+n} F_1\left (\frac{5}{2};4+n,1;\frac{7}{2};-\frac{a-a \sec (c+d x)}{a+a \sec (c+d x)},\frac{a-a \sec (c+d x)}{a+a \sec (c+d x)}\right ) \left (\frac{1}{1+\sec (c+d x)}\right )^{5+n} (a+a \sec (c+d x))^n \tan ^5(c+d x)}{5 d}\\ \end{align*}
Mathematica [F] time = 1.15102, size = 0, normalized size = 0. \[ \int (a+a \sec (c+d x))^n \tan ^4(c+d x) \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.272, size = 0, normalized size = 0. \begin{align*} \int \left ( a+a\sec \left ( dx+c \right ) \right ) ^{n} \left ( \tan \left ( dx+c \right ) \right ) ^{4}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sec \left (d x + c\right ) + a\right )}^{n} \tan \left (d x + c\right )^{4}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (a \sec \left (d x + c\right ) + a\right )}^{n} \tan \left (d x + c\right )^{4}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sec \left (d x + c\right ) + a\right )}^{n} \tan \left (d x + c\right )^{4}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]